package com.passion.frm;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 类描述：用户登录请求Frm
 *
 * @author ZhuYin
 * @since 2024年12月01日
 */
@ApiModel(value = "用户登录请求Frm对象")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserLoginFrm {

    @ApiModelProperty(name = "用户名", required = true, example = "admin")
    @NotBlank(message = "用户名不能为空")
    private String account;

    @ApiModelProperty(name = "密码", required = true, example = "tlkj@admin")
    @NotBlank(message = "密码不能为空")
    private String passwd;

    @ApiModelProperty(name = "验证码key", example = "0bbe120bb4754e0f921169c5e4a842ab")
    private String verifyCodeKey;

    @ApiModelProperty(name = "验证码", example = "123456")
    private String verifyCode;

    @ApiModelProperty(name = "是否记住我", example = "true")
    private Boolean remember;

    @ApiModelProperty(name = "设备类型", example = "PC")
    private String deviceType;
}
